package com.wan37.logic.email.serivce;


import com.wan37.logic.email.domain.vo.AttachmentVO;
import com.wan37.logic.email.domain.vo.EmailVO;
import com.wan37.logic.service.BasicEntityService;

import java.util.List;

public interface EmailService extends BasicEntityService<EmailVO> {

    boolean saveEmailAndAttachment(EmailVO emailVO);

    boolean saveEmailAndAttachment(List<EmailVO> emailVOList);


    List<EmailVO> findEmailVOByUserId(String userId);
}
